package com.pro.entity;

import java.util.Date;

public class ProductImgEntity {
	private int id; //主键
	private Date createTime;//创建时间
	private String img;//图片
	private int gid; //外键
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public ProductImgEntity(int id, Date createTime, String img, int gid) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.img = img;
		this.gid = gid;
	}
	public ProductImgEntity() {
		super();
	}
	@Override
	public String toString() {
		return "ProductImgEntity [id=" + id + ", createTime=" + createTime + ", img=" + img + ", gid=" + gid + "]";
	}
	
	
}
